home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_7291.txt < prev    next >
Text File  |  1991-04-30  |  1KB  |  54 lines

  1. -- card: 7291 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2612
  5. -- name: ShowMenu
  6.  
  7.  
  8. -- part contents for background part 2
  9. ----- text -----
  10. ShowMenu
  11.  
  12. -- part contents for background part 13
  13. ----- text -----
  14. 9
  15.  
  16. -- part contents for background part 3
  17. ----- text -----
  18.  
  19. ShowMenu will redisplay any menus you've added to HyperCard using the NewMenu* XFCN.  HyperCard doesn't know you've added menus, and if you change userLevels or use the paint tools HyperCard will erase your menus accidentally.  It doesn't mean it, it just doesn't know any better.  An example of using ShowMenu would be:
  20.  
  21. on idle
  22.   global myMenu
  23.   ShowMenu myMenu 
  24.   pass idle
  25. end idle
  26.  
  27. Again, the menu number should be the same number that was returned by NewMenu*.
  28.  
  29. For a more efficent method of use, see the sample script provided with NewMenu*.
  30.  
  31. ΓÇóΓÇóΓÇó
  32.  
  33. All the credit, (even the descriptions above) go to the creator of this ingenious XCMD:
  34.  
  35. Nine to Five Software Company
  36. P.O. Box 915
  37. Greenwood, IN  46142
  38. (317) 887-2154
  39. & Michael Long
  40.  
  41. See also NewMenu*, EnableMenu*, DeleteMenu*,  ChangeMenu*, and CheckMenu*
  42.  
  43.  
  44. -- part contents for background part 10
  45. ----- text -----
  46. Syntax:
  47.  
  48. ShowMenu <menuNumber>
  49.  
  50. <menuNumber> is the MenuID returned by the original call to newMenu*.
  51.  
  52. -- part contents for background part 30
  53. ----- text -----
  54. XCMD